package ar.uba.fi.tonyvaliente.documents;

public class CreateIndexResult {

	private boolean success;
	private String errorMessage;
	
	public CreateIndexResult(boolean success, String errorMessage)
	{
		this.success = success;
		this.errorMessage = errorMessage;
	}
	
	public boolean isSuccess()
	{
		return this.success;
	}

	public String getErrorMessage()
	{
		return this.errorMessage;
	}
}
